file access

All posts tagged file access by Linux Bash
  • Posted on
    Featured Image
    The blog post details using `sysdig` to trace file accesses in Linux, highlighting its capability to capture system events directly from the kernel. It offers installation instructions for different Linux distributions and uses a command format with specified filters to monitor file accesses by scripts. Practical examples, including a Bash script, demonstrate `sysdig`'s utility in debugging, security, and system performance optimization.
  • Posted on
    Featured Image
    `fatrace` is a valuable tool for monitoring real-time file access on Linux systems, utilizing the `fanotify` API to track activities such as opening, reading, writing, and closing of files by processes. The article guides you through the installation process on different Linux distributions, including Debian, Ubuntu, Fedora, and openSUSE. It also highlights how to use `fatrace` for filtering output and limiting monitoring to specific processes, making it essential for system administration, debugging, and performance optimization.